package com.itheima.method;

public class Method01 {
    public static void main(String[] args) {
       //带参调用. 括号里的参数.随便输.
        method(6);
    }

    public static void method(int num) {
        if (num % 2 == 0) {
            System.out.println("偶数");
        } else {
            System.out.println("奇数");
        }
    }


}
